export interface GetEntityListParams {
  connection_id?: number;
  name?: string;
}

export interface EntityField {
  label: string;
  field: string;
}

export interface CreateEntityParams {
  key: string;
  name: string;
  fields: EntityField[];
}

export interface EntityModel {
  id: number;
  key: string;
  name: string;
  fields: EntityField[];
}
